/*  
* Copyright (c) 2010, James Daniello
* This project is licensed under the 'New BSD' license.
* The full text of the license can be found in the root
* directory under the filename "LICENSE.
"
*/

package src.objects;

  
public class PICAIUTestObject extends PICAIUGameObject_SCD implements PICAIUCollidable, PICAIUSelectable{

  //debugging
  public boolean debug=false;
  public boolean debug2=false;
  
  
  public PICAIUTestObject(String initAnim, double xIn, double yIn, boolean debugIn, boolean debugIn2, long idIn){
    position.setX(xIn);
    position.setY(yIn);
    width=24;
    height=27;
    tMiddle=22;
    
    collisionBounds.add(new PICAIURectBounds(0,16,24,8));
    selectionBounds.add(new PICAIURectBounds(8,0,12,27));
    selectable=true;
    
    animationName=initAnim;
    id=idIn;

    debug=debugIn;   
  }
  
  /**
  * Updates the current object and performs its routines each frame
  */
  @Override
  public void update(long deltaT){
    if(debug||debug2){
      position.addToY(deltaT*.01);
    }
  }
  
}